package com.cci.kangdao.fieldService.aop.model;

/**
 * @author William Du
 * @date 2020/5/6
 */
public class CFWOThreadLocal {

    private static final ThreadLocal<Long> LOCAL_CFWO_ID = new ThreadLocal<>();

    public static void set(Long escalationId) {
        LOCAL_CFWO_ID.set(escalationId);
    }

    public static Long get() {
        return LOCAL_CFWO_ID.get();
    }

    public static void clear() {
        LOCAL_CFWO_ID.remove();
    }

}
